.wrap{
  position: absolute;
  z-index: 999;
  transition: all 2s;
  -webkit-transition: all 2s;
}
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s
}
.fade-enter, .fade-leave-to /* .fade-leave-active in below version 2.1.8 */ {
  opacity: 0
}